/**
 * Export model definition object.
 */
module.exports = {
  logTime: { type: Number, index: true },
  httpPath: String,
  httpMethod: String,
  statusCode: Number,
  msg: { type: String, index: 'text' },
  createdAt: { type: Date, index: { expireAfterSeconds: 7 * 86400 } },
};
